package com.yizhang.pattern.strategy;

/**
 * @Author: yi.zhang
 * @CreateTime: 2025-08-21 16:36:41
 * @Description:
 */
public class WeChatPay implements Payment {

    private Integer amount = 1000;

    @Override
    public void pay() {
        amount = amount * 3;
        System.out.println("欢迎使用微信支付");
    }

    public Integer getAmount() {
        return amount;
    }
}
